package com.aruba.itemtouchhelperapplication;

import android.support.v7.widget.RecyclerView;
import android.view.View;

/**
 * 拖拽和侧滑抽象接口
 */
public interface IMoveAndSwipeCallback {
    void onMove(int prePosition, int postPosition);

    void onSwiped(int position);

    void onChildDraw(RecyclerView.ViewHolder viewHolder, float dX, float dY);

    View getItemFrontView(RecyclerView.ViewHolder mPreOpened);
}
